package com.example.kaogong.sys.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 题目
 * </p>
 *
 * @author    
 * @since 2022-03-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_question")
@ApiModel(value="Question对象", description="题目")
public class Question implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "题目编号")
    @TableId(value = "question_id", type = IdType.AUTO)
    private Integer questionId;

    @ApiModelProperty(value = "出题教师编号")
    private Integer teacherId;

    @ApiModelProperty(value = "题目描述")
    private String questionDesc;

    @ApiModelProperty(value = "分数")
    private Integer score;

    @ApiModelProperty(value = "难度(1-简单，2-中等，3-困难)")
    private Integer level;

    @ApiModelProperty(value = "题目类型(1-单选，2-多选，3-判断题，4-填空题，5-主观论述题)")
    private Integer questionType;

    @ApiModelProperty(value = "参考答案")
    private String answer;

    @ApiModelProperty(value = "逻辑删除")
    private Boolean deleted;


}
